package com.flow.asyncflow.core.enums;

public enum AutoOperationEvent {
    Input(1, "文本框输入"),//文本框输入
    Click(2, "普通点击"),//点击
    ClickWaitNavigation(20, "点击等待导航"),//点击
    Select(3, "下拉选择"),//下拉选择
    SelectForLabel(18, "下拉选择Label"),//下拉选择
    ImplementJs(4, "执行JS"),//执行JS
    Check(5, "勾选&单选"),//勾选&单选
    Open(6, "打开页面"),
    UploadFile(7, "上传文件"),
    Screens(8, "页面截图"),
    Refresh(9, "刷新"),//勾选&单选
    Get(10, "Get请求"),
    PostJson(11, "PostJson请求"),
    PostFile(12, "PostFile请求"),
    Put(13, "Put"),
    PostForm(14, "PostForm请求"),
    PageCheck(15, "检查当前页"),
    MonitorRoute(17, "监听返回"),
    DownloadFile(18, "下载"),
    ;

    private int code;
    private String msg;

    AutoOperationEvent(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    public String getMsg() {
        return this.msg;
    }


    public int getCode() {
        return this.code;
    }

    public String getName() {
        return this.name();
    }
}
